
package RPG;

import EntitySystem.Entity;
import java.util.ArrayList;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Input;
import org.newdawn.slick.state.BasicGameState;
import org.newdawn.slick.state.StateBasedGame;

public abstract class RPGState extends BasicGameState{

    GameContainer container;
    Input input;
    RPG game;
    int stateID;
    ArrayList<Entity> entities;


    @Override
    public abstract void init(GameContainer gc, StateBasedGame sbg);
    
    @Override
    public abstract void update(GameContainer gc, StateBasedGame sbg, int i);
    
    @Override
    public abstract void render(GameContainer gc, StateBasedGame sbg, Graphics grphcs);

    
    public int getID(){
        return stateID;
    }

    public void setInput(Input input){
        this.input=input;
    }
    
    public GameContainer getContainer(){
        return container;
    }

    public void setContainer(GameContainer container){
        this.container=container;
    }

    public RPG getGame(){
        return this.game;
    }

    public void setGame(RPG game){
        this.game=game;
    }

    public ArrayList<Entity> getEntities(){
        return entities;
    }

    public void setEntities(ArrayList<Entity> entities){
        this.entities=entities;
    }

}
